﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dpdw.Behaviour.StrategyPattern
{
    public class ModelDuck : Duck
    {
        public ModelDuck()
            : base()
        {
            this.FlyBehavior = new FlyNoWay();
            this.QuackBehavior = new QuackNormal();
        }

        public override void Display()
        {
            System.Diagnostics.Trace.WriteLine("I'm a ModelDuck.");
        }
    }
}
